package mhl.domain;

/**
 * @author DCSGO
 * @version 1.0
 * 与 diningTable 表关联
 */
/*
CREATE TABLE diningTable(
		id INT PRIMARY KEY AUTO_INCREMENT,
		state VARCHAR(32) NOT NULL DEFAULT '空',
		orderName VARCHAR(32) DEFAULT ' ',
		orderTel VARCHAR(32) DEFAULT ' ');
 */
public class DiningTable {
    private Integer id;
    private String state;
    private String orderName;
    private String orderTel;

    public DiningTable() {
    }

    public DiningTable(Integer id, String state, String orderName, String orderTel) {
        this.id = id;
        this.state = state;
        this.orderName = orderName;
        this.orderTel = orderTel;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public String getOrderName() {
        return orderName;
    }

    public void setOrderName(String orderName) {
        this.orderName = orderName;
    }

    public String getOrderTel() {
        return orderTel;
    }

    public void setOrderTel(String orderTel) {
        this.orderTel = orderTel;
    }

    @Override
    public String toString() {
        return id + "\t\t" + state + "\t\t" +
                orderName + "\t\t" + orderTel;
    }
}
